

// motor
#define MOTOR_ENABLE 2
#define MOTOR_DIR 36
// button
#define BUTTON 49
//servo
#define SERVO_PIN 30
#define MAX_MS_SERVOTIK 1000
#define SERVO_OFFSET 85
#define STCALC(a) SERVO_OFFSET+(a) 
// led
#define LED 13

// distanse
#define DIST_SENSOR_RIGHT 0
#define DIST_SENSOR_CENTER 1

#define FIRST_ADC_INPUT 8
#define LAST_ADC_INPUT 9


#define SENSOR_LED_RIGHT 6
#define SENSOR_DIGITAL_RIGHT 24
#define SENSOR_LED_LEFT 7
#define SENSOR_DIGITAL_LEFT 26
#define SENSOR_LED_CENTER 46
#define SENSOR_DIGITAL_CENTER 43


// contact sensor
#define CONTACT_SENSOR_LEFT 50
#define CONTACT_SENSOR_RIGHT 48

